Don't test datetime in locales with no encoding
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Fri, 28 Jan 2022 19:22:53 +0000 (19:22 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Fri, 28 Jan 2022 19:22:53 +0000 (19:22 +0000)
commit25c5eb17ccea250f52d4fcf6b825b0be37497372
tree6a887c87d652265bf73be407745479b98d7f657c
parent6a3a77e8abf8c1edd080260eaafaae35c3cd4f54
Don't test datetime in locales with no encoding

Some datetime tests run the test in every available locale.
If this set includes locales without an encoding (currently dsb_DE
and sah_RU), it fails due to Python bug
https://bugs.python.org/issue20088

Failure log
https://tests.reproducible-builds.org/debian/rbuild/buster/amd64/pandas_0.23.3+dfsg-3.rbuild.log.gz

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/pandas-dev/pandas/issues/20957
Forwarded: no

Gbp-Pq: Name skip_noencoding_locales.patch
pandas/_config/localization.py